<template>
	<view class="container" v-if="Object.keys(nowPlayingList).length>0">
		<image :src="nowPlayingList.subjects[0].images.small"></image>
		<button class="start" @click="toPath">立即体验</button>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		onReady() {
			this.$store.dispatch("getCity");
		},
		computed:{
			nowPlayingList(){
				return this.$store.state.nowPlayingList;
			}
		},
		methods: {
			toPath(){
				uni.redirectTo({
					url:"../list/list"
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
.container{
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	image{
		width: 100%;
		height: 100%;
	}
	.start{
		width: 400upx;
		border: 1upx solid blue;
		height: 120upx;
		position: absolute;
		left:180upx;
		color:#000000;
		bottom: 100upx;
	}
}
</style>
